<?php
	/**
	 * This is a MetaControl class, providing a QForm or QPanel access to event handlers
	 * and QControls to perform the Create, Edit, and Delete functionality
	 * of the TableJpAddress class.  This code-generated class
	 * contains all the basic elements to help a QPanel or QForm display an HTML form that can
	 * manipulate a single TableJpAddress object.
	 *
	 * To take advantage of some (or all) of these control objects, you
	 * must create a new QForm or QPanel which instantiates a TableJpAddressMetaControl
	 * class.
	 *
	 * Any and all changes to this file will be overwritten with any subsequent
	 * code re-generation.
	 * 
	 * @package My Application
	 * @subpackage MetaControls
	 * property-read TableJpAddress $TableJpAddress the actual TableJpAddress data class being edited
	 * property QLabel $IdControl
	 * property-read QLabel $IdLabel
	 * property QTextBox $TihouCodeControl
	 * property-read QLabel $TihouCodeLabel
	 * property QTextBox $PostalCodeControl
	 * property-read QLabel $PostalCodeLabel
	 * property QTextBox $KenKanaControl
	 * property-read QLabel $KenKanaLabel
	 * property QTextBox $CityKanaControl
	 * property-read QLabel $CityKanaLabel
	 * property QTextBox $TiikiKanaControl
	 * property-read QLabel $TiikiKanaLabel
	 * property QTextBox $KenControl
	 * property-read QLabel $KenLabel
	 * property QTextBox $ShityousonControl
	 * property-read QLabel $ShityousonLabel
	 * property QTextBox $TiikiControl
	 * property-read QLabel $TiikiLabel
	 * property QIntegerTextBox $FlagMultiCodeControl
	 * property-read QLabel $FlagMultiCodeLabel
	 * property QIntegerTextBox $FlagBantiTiikiControl
	 * property-read QLabel $FlagBantiTiikiLabel
	 * property QIntegerTextBox $FlagTyomeControl
	 * property-read QLabel $FlagTyomeLabel
	 * property QIntegerTextBox $FlagMultiTiikiControl
	 * property-read QLabel $FlagMultiTiikiLabel
	 * property QIntegerTextBox $FlagUpdateControl
	 * property-read QLabel $FlagUpdateLabel
	 * property QIntegerTextBox $FlagUpdateReasonControl
	 * property-read QLabel $FlagUpdateReasonLabel
	 * property QTextBox $KenKana1Control
	 * property-read QLabel $KenKana1Label
	 * property QTextBox $CityKana1Control
	 * property-read QLabel $CityKana1Label
	 * property QTextBox $TiikiKana1Control
	 * property-read QLabel $TiikiKana1Label
	 * property QTextBox $KenAlphaControl
	 * property-read QLabel $KenAlphaLabel
	 * property QTextBox $CityAlphaControl
	 * property-read QLabel $CityAlphaLabel
	 * property QTextBox $TiikiAlphaControl
	 * property-read QLabel $TiikiAlphaLabel
	 * property QIntegerTextBox $GeoOrderKenControl
	 * property-read QLabel $GeoOrderKenLabel
	 * property QIntegerTextBox $KanaOrderKenControl
	 * property-read QLabel $KanaOrderKenLabel
	 * property QIntegerTextBox $KanaOrderCityControl
	 * property-read QLabel $KanaOrderCityLabel
	 * property QIntegerTextBox $KanaOrderTiikiControl
	 * property-read QLabel $KanaOrderTiikiLabel
	 * property-read string $TitleVerb a verb indicating whether or not this is being edited or created
	 * property-read boolean $EditMode a boolean indicating whether or not this is being edited or created
	 */

	class TableJpAddressMetaControlGen extends QBaseClass {
		// General Variables
		protected $objTableJpAddress;
		protected $objParentObject;
		protected $strTitleVerb;
		protected $blnEditMode;

		// Controls that allow the editing of TableJpAddress's individual data fields
		protected $lblId;
		protected $txtTihouCode;
		protected $txtPostalCode;
		protected $txtKenKana;
		protected $txtCityKana;
		protected $txtTiikiKana;
		protected $txtKen;
		protected $txtShityouson;
		protected $txtTiiki;
		protected $txtFlagMultiCode;
		protected $txtFlagBantiTiiki;
		protected $txtFlagTyome;
		protected $txtFlagMultiTiiki;
		protected $txtFlagUpdate;
		protected $txtFlagUpdateReason;
		protected $txtKenKana1;
		protected $txtCityKana1;
		protected $txtTiikiKana1;
		protected $txtKenAlpha;
		protected $txtCityAlpha;
		protected $txtTiikiAlpha;
		protected $txtGeoOrderKen;
		protected $txtKanaOrderKen;
		protected $txtKanaOrderCity;
		protected $txtKanaOrderTiiki;

		// Controls that allow the viewing of TableJpAddress's individual data fields
		protected $lblTihouCode;
		protected $lblPostalCode;
		protected $lblKenKana;
		protected $lblCityKana;
		protected $lblTiikiKana;
		protected $lblKen;
		protected $lblShityouson;
		protected $lblTiiki;
		protected $lblFlagMultiCode;
		protected $lblFlagBantiTiiki;
		protected $lblFlagTyome;
		protected $lblFlagMultiTiiki;
		protected $lblFlagUpdate;
		protected $lblFlagUpdateReason;
		protected $lblKenKana1;
		protected $lblCityKana1;
		protected $lblTiikiKana1;
		protected $lblKenAlpha;
		protected $lblCityAlpha;
		protected $lblTiikiAlpha;
		protected $lblGeoOrderKen;
		protected $lblKanaOrderKen;
		protected $lblKanaOrderCity;
		protected $lblKanaOrderTiiki;

		// QListBox Controls (if applicable) to edit Unique ReverseReferences and ManyToMany References

		// QLabel Controls (if applicable) to view Unique ReverseReferences and ManyToMany References


		/**
		 * Main constructor.  Constructor OR static create methods are designed to be called in either
		 * a parent QPanel or the main QForm when wanting to create a
		 * TableJpAddressMetaControl to edit a single TableJpAddress object within the
		 * QPanel or QForm.
		 *
		 * This constructor takes in a single TableJpAddress object, while any of the static
		 * create methods below can be used to construct based off of individual PK ID(s).
		 *
		 * @param mixed $objParentObject QForm or QPanel which will be using this TableJpAddressMetaControl
		 * @param TableJpAddress $objTableJpAddress new or existing TableJpAddress object
		 */
		 public function __construct($objParentObject, TableJpAddress $objTableJpAddress) {
			// Setup Parent Object (e.g. QForm or QPanel which will be using this TableJpAddressMetaControl)
			$this->objParentObject = $objParentObject;

			// Setup linked TableJpAddress object
			$this->objTableJpAddress = $objTableJpAddress;

			// Figure out if we're Editing or Creating New
			if ($this->objTableJpAddress->__Restored) {
				$this->strTitleVerb = QApplication::Translate('Edit');
				$this->blnEditMode = true;
			} else {
				$this->strTitleVerb = QApplication::Translate('Create');
				$this->blnEditMode = false;
			}
		 }

		/**
		 * Static Helper Method to Create using PK arguments
		 * You must pass in the PK arguments on an object to load, or leave it blank to create a new one.
		 * If you want to load via QueryString or PathInfo, use the CreateFromQueryString or CreateFromPathInfo
		 * static helper methods.  Finally, specify a CreateType to define whether or not we are only allowed to 
		 * edit, or if we are also allowed to create a new one, etc.
		 * 
		 * @param mixed $objParentObject QForm or QPanel which will be using this TableJpAddressMetaControl
		 * @param integer $intId primary key value
		 * @param QMetaControlCreateType $intCreateType rules governing TableJpAddress object creation - defaults to CreateOrEdit
 		 * @return TableJpAddressMetaControl
		 */
		public static function Create($objParentObject, $intId = null, $intCreateType = QMetaControlCreateType::CreateOrEdit) {
			// Attempt to Load from PK Arguments
			if (strlen($intId)) {
				$objTableJpAddress = TableJpAddress::Load($intId);

				// TableJpAddress was found -- return it!
				if ($objTableJpAddress)
					return new TableJpAddressMetaControl($objParentObject, $objTableJpAddress);

				// If CreateOnRecordNotFound not specified, throw an exception
				else if ($intCreateType != QMetaControlCreateType::CreateOnRecordNotFound)
					throw new QCallerException('Could not find a TableJpAddress object with PK arguments: ' . $intId);

			// If EditOnly is specified, throw an exception
			} else if ($intCreateType == QMetaControlCreateType::EditOnly)
				throw new QCallerException('No PK arguments specified');

			// If we are here, then we need to create a new record
			return new TableJpAddressMetaControl($objParentObject, new TableJpAddress());
		}

		/**
		 * Static Helper Method to Create using PathInfo arguments
		 *
		 * @param mixed $objParentObject QForm or QPanel which will be using this TableJpAddressMetaControl
		 * @param QMetaControlCreateType $intCreateType rules governing TableJpAddress object creation - defaults to CreateOrEdit
		 * @return TableJpAddressMetaControl
		 */
		public static function CreateFromPathInfo($objParentObject, $intCreateType = QMetaControlCreateType::CreateOrEdit) {
			$intId = QApplication::PathInfo(0);
			return TableJpAddressMetaControl::Create($objParentObject, $intId, $intCreateType);
		}

		/**
		 * Static Helper Method to Create using QueryString arguments
		 *
		 * @param mixed $objParentObject QForm or QPanel which will be using this TableJpAddressMetaControl
		 * @param QMetaControlCreateType $intCreateType rules governing TableJpAddress object creation - defaults to CreateOrEdit
		 * @return TableJpAddressMetaControl
		 */
		public static function CreateFromQueryString($objParentObject, $intCreateType = QMetaControlCreateType::CreateOrEdit) {
			$intId = QApplication::QueryString('intId');
			return TableJpAddressMetaControl::Create($objParentObject, $intId, $intCreateType);
		}



		///////////////////////////////////////////////
		// PUBLIC CREATE and REFRESH METHODS
		///////////////////////////////////////////////

		/**
		 * Create and setup QLabel lblId
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblId_Create($strControlId = null) {
			$this->lblId = new QLabel($this->objParentObject, $strControlId);
			$this->lblId->Name = QApplication::Translate('Id');
			if ($this->blnEditMode)
				$this->lblId->Text = $this->objTableJpAddress->Id;
			else
				$this->lblId->Text = 'N/A';
			return $this->lblId;
		}

		/**
		 * Create and setup QTextBox txtTihouCode
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtTihouCode_Create($strControlId = null) {
			$this->txtTihouCode = new QTextBox($this->objParentObject, $strControlId);
			$this->txtTihouCode->Name = QApplication::Translate('Tihou Code');
			$this->txtTihouCode->Text = $this->objTableJpAddress->TihouCode;
			$this->txtTihouCode->Required = true;
			$this->txtTihouCode->MaxLength = TableJpAddress::TihouCodeMaxLength;
			return $this->txtTihouCode;
		}

		/**
		 * Create and setup QLabel lblTihouCode
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblTihouCode_Create($strControlId = null) {
			$this->lblTihouCode = new QLabel($this->objParentObject, $strControlId);
			$this->lblTihouCode->Name = QApplication::Translate('Tihou Code');
			$this->lblTihouCode->Text = $this->objTableJpAddress->TihouCode;
			$this->lblTihouCode->Required = true;
			return $this->lblTihouCode;
		}

		/**
		 * Create and setup QTextBox txtPostalCode
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtPostalCode_Create($strControlId = null) {
			$this->txtPostalCode = new QTextBox($this->objParentObject, $strControlId);
			$this->txtPostalCode->Name = QApplication::Translate('Postal Code');
			$this->txtPostalCode->Text = $this->objTableJpAddress->PostalCode;
			$this->txtPostalCode->Required = true;
			$this->txtPostalCode->MaxLength = TableJpAddress::PostalCodeMaxLength;
			return $this->txtPostalCode;
		}

		/**
		 * Create and setup QLabel lblPostalCode
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblPostalCode_Create($strControlId = null) {
			$this->lblPostalCode = new QLabel($this->objParentObject, $strControlId);
			$this->lblPostalCode->Name = QApplication::Translate('Postal Code');
			$this->lblPostalCode->Text = $this->objTableJpAddress->PostalCode;
			$this->lblPostalCode->Required = true;
			return $this->lblPostalCode;
		}

		/**
		 * Create and setup QTextBox txtKenKana
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtKenKana_Create($strControlId = null) {
			$this->txtKenKana = new QTextBox($this->objParentObject, $strControlId);
			$this->txtKenKana->Name = QApplication::Translate('Ken Kana');
			$this->txtKenKana->Text = $this->objTableJpAddress->KenKana;
			$this->txtKenKana->MaxLength = TableJpAddress::KenKanaMaxLength;
			return $this->txtKenKana;
		}

		/**
		 * Create and setup QLabel lblKenKana
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblKenKana_Create($strControlId = null) {
			$this->lblKenKana = new QLabel($this->objParentObject, $strControlId);
			$this->lblKenKana->Name = QApplication::Translate('Ken Kana');
			$this->lblKenKana->Text = $this->objTableJpAddress->KenKana;
			return $this->lblKenKana;
		}

		/**
		 * Create and setup QTextBox txtCityKana
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtCityKana_Create($strControlId = null) {
			$this->txtCityKana = new QTextBox($this->objParentObject, $strControlId);
			$this->txtCityKana->Name = QApplication::Translate('City Kana');
			$this->txtCityKana->Text = $this->objTableJpAddress->CityKana;
			$this->txtCityKana->MaxLength = TableJpAddress::CityKanaMaxLength;
			return $this->txtCityKana;
		}

		/**
		 * Create and setup QLabel lblCityKana
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblCityKana_Create($strControlId = null) {
			$this->lblCityKana = new QLabel($this->objParentObject, $strControlId);
			$this->lblCityKana->Name = QApplication::Translate('City Kana');
			$this->lblCityKana->Text = $this->objTableJpAddress->CityKana;
			return $this->lblCityKana;
		}

		/**
		 * Create and setup QTextBox txtTiikiKana
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtTiikiKana_Create($strControlId = null) {
			$this->txtTiikiKana = new QTextBox($this->objParentObject, $strControlId);
			$this->txtTiikiKana->Name = QApplication::Translate('Tiiki Kana');
			$this->txtTiikiKana->Text = $this->objTableJpAddress->TiikiKana;
			$this->txtTiikiKana->MaxLength = TableJpAddress::TiikiKanaMaxLength;
			return $this->txtTiikiKana;
		}

		/**
		 * Create and setup QLabel lblTiikiKana
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblTiikiKana_Create($strControlId = null) {
			$this->lblTiikiKana = new QLabel($this->objParentObject, $strControlId);
			$this->lblTiikiKana->Name = QApplication::Translate('Tiiki Kana');
			$this->lblTiikiKana->Text = $this->objTableJpAddress->TiikiKana;
			return $this->lblTiikiKana;
		}

		/**
		 * Create and setup QTextBox txtKen
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtKen_Create($strControlId = null) {
			$this->txtKen = new QTextBox($this->objParentObject, $strControlId);
			$this->txtKen->Name = QApplication::Translate('Ken');
			$this->txtKen->Text = $this->objTableJpAddress->Ken;
			$this->txtKen->Required = true;
			$this->txtKen->MaxLength = TableJpAddress::KenMaxLength;
			return $this->txtKen;
		}

		/**
		 * Create and setup QLabel lblKen
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblKen_Create($strControlId = null) {
			$this->lblKen = new QLabel($this->objParentObject, $strControlId);
			$this->lblKen->Name = QApplication::Translate('Ken');
			$this->lblKen->Text = $this->objTableJpAddress->Ken;
			$this->lblKen->Required = true;
			return $this->lblKen;
		}

		/**
		 * Create and setup QTextBox txtShityouson
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtShityouson_Create($strControlId = null) {
			$this->txtShityouson = new QTextBox($this->objParentObject, $strControlId);
			$this->txtShityouson->Name = QApplication::Translate('Shityouson');
			$this->txtShityouson->Text = $this->objTableJpAddress->Shityouson;
			$this->txtShityouson->Required = true;
			$this->txtShityouson->MaxLength = TableJpAddress::ShityousonMaxLength;
			return $this->txtShityouson;
		}

		/**
		 * Create and setup QLabel lblShityouson
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblShityouson_Create($strControlId = null) {
			$this->lblShityouson = new QLabel($this->objParentObject, $strControlId);
			$this->lblShityouson->Name = QApplication::Translate('Shityouson');
			$this->lblShityouson->Text = $this->objTableJpAddress->Shityouson;
			$this->lblShityouson->Required = true;
			return $this->lblShityouson;
		}

		/**
		 * Create and setup QTextBox txtTiiki
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtTiiki_Create($strControlId = null) {
			$this->txtTiiki = new QTextBox($this->objParentObject, $strControlId);
			$this->txtTiiki->Name = QApplication::Translate('Tiiki');
			$this->txtTiiki->Text = $this->objTableJpAddress->Tiiki;
			$this->txtTiiki->Required = true;
			$this->txtTiiki->MaxLength = TableJpAddress::TiikiMaxLength;
			return $this->txtTiiki;
		}

		/**
		 * Create and setup QLabel lblTiiki
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblTiiki_Create($strControlId = null) {
			$this->lblTiiki = new QLabel($this->objParentObject, $strControlId);
			$this->lblTiiki->Name = QApplication::Translate('Tiiki');
			$this->lblTiiki->Text = $this->objTableJpAddress->Tiiki;
			$this->lblTiiki->Required = true;
			return $this->lblTiiki;
		}

		/**
		 * Create and setup QIntegerTextBox txtFlagMultiCode
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtFlagMultiCode_Create($strControlId = null) {
			$this->txtFlagMultiCode = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtFlagMultiCode->Name = QApplication::Translate('Flag Multi Code');
			$this->txtFlagMultiCode->Text = $this->objTableJpAddress->FlagMultiCode;
			return $this->txtFlagMultiCode;
		}

		/**
		 * Create and setup QLabel lblFlagMultiCode
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblFlagMultiCode_Create($strControlId = null, $strFormat = null) {
			$this->lblFlagMultiCode = new QLabel($this->objParentObject, $strControlId);
			$this->lblFlagMultiCode->Name = QApplication::Translate('Flag Multi Code');
			$this->lblFlagMultiCode->Text = $this->objTableJpAddress->FlagMultiCode;
			$this->lblFlagMultiCode->Format = $strFormat;
			return $this->lblFlagMultiCode;
		}

		/**
		 * Create and setup QIntegerTextBox txtFlagBantiTiiki
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtFlagBantiTiiki_Create($strControlId = null) {
			$this->txtFlagBantiTiiki = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtFlagBantiTiiki->Name = QApplication::Translate('Flag Banti Tiiki');
			$this->txtFlagBantiTiiki->Text = $this->objTableJpAddress->FlagBantiTiiki;
			return $this->txtFlagBantiTiiki;
		}

		/**
		 * Create and setup QLabel lblFlagBantiTiiki
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblFlagBantiTiiki_Create($strControlId = null, $strFormat = null) {
			$this->lblFlagBantiTiiki = new QLabel($this->objParentObject, $strControlId);
			$this->lblFlagBantiTiiki->Name = QApplication::Translate('Flag Banti Tiiki');
			$this->lblFlagBantiTiiki->Text = $this->objTableJpAddress->FlagBantiTiiki;
			$this->lblFlagBantiTiiki->Format = $strFormat;
			return $this->lblFlagBantiTiiki;
		}

		/**
		 * Create and setup QIntegerTextBox txtFlagTyome
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtFlagTyome_Create($strControlId = null) {
			$this->txtFlagTyome = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtFlagTyome->Name = QApplication::Translate('Flag Tyome');
			$this->txtFlagTyome->Text = $this->objTableJpAddress->FlagTyome;
			return $this->txtFlagTyome;
		}

		/**
		 * Create and setup QLabel lblFlagTyome
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblFlagTyome_Create($strControlId = null, $strFormat = null) {
			$this->lblFlagTyome = new QLabel($this->objParentObject, $strControlId);
			$this->lblFlagTyome->Name = QApplication::Translate('Flag Tyome');
			$this->lblFlagTyome->Text = $this->objTableJpAddress->FlagTyome;
			$this->lblFlagTyome->Format = $strFormat;
			return $this->lblFlagTyome;
		}

		/**
		 * Create and setup QIntegerTextBox txtFlagMultiTiiki
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtFlagMultiTiiki_Create($strControlId = null) {
			$this->txtFlagMultiTiiki = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtFlagMultiTiiki->Name = QApplication::Translate('Flag Multi Tiiki');
			$this->txtFlagMultiTiiki->Text = $this->objTableJpAddress->FlagMultiTiiki;
			return $this->txtFlagMultiTiiki;
		}

		/**
		 * Create and setup QLabel lblFlagMultiTiiki
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblFlagMultiTiiki_Create($strControlId = null, $strFormat = null) {
			$this->lblFlagMultiTiiki = new QLabel($this->objParentObject, $strControlId);
			$this->lblFlagMultiTiiki->Name = QApplication::Translate('Flag Multi Tiiki');
			$this->lblFlagMultiTiiki->Text = $this->objTableJpAddress->FlagMultiTiiki;
			$this->lblFlagMultiTiiki->Format = $strFormat;
			return $this->lblFlagMultiTiiki;
		}

		/**
		 * Create and setup QIntegerTextBox txtFlagUpdate
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtFlagUpdate_Create($strControlId = null) {
			$this->txtFlagUpdate = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtFlagUpdate->Name = QApplication::Translate('Flag Update');
			$this->txtFlagUpdate->Text = $this->objTableJpAddress->FlagUpdate;
			return $this->txtFlagUpdate;
		}

		/**
		 * Create and setup QLabel lblFlagUpdate
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblFlagUpdate_Create($strControlId = null, $strFormat = null) {
			$this->lblFlagUpdate = new QLabel($this->objParentObject, $strControlId);
			$this->lblFlagUpdate->Name = QApplication::Translate('Flag Update');
			$this->lblFlagUpdate->Text = $this->objTableJpAddress->FlagUpdate;
			$this->lblFlagUpdate->Format = $strFormat;
			return $this->lblFlagUpdate;
		}

		/**
		 * Create and setup QIntegerTextBox txtFlagUpdateReason
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtFlagUpdateReason_Create($strControlId = null) {
			$this->txtFlagUpdateReason = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtFlagUpdateReason->Name = QApplication::Translate('Flag Update Reason');
			$this->txtFlagUpdateReason->Text = $this->objTableJpAddress->FlagUpdateReason;
			return $this->txtFlagUpdateReason;
		}

		/**
		 * Create and setup QLabel lblFlagUpdateReason
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblFlagUpdateReason_Create($strControlId = null, $strFormat = null) {
			$this->lblFlagUpdateReason = new QLabel($this->objParentObject, $strControlId);
			$this->lblFlagUpdateReason->Name = QApplication::Translate('Flag Update Reason');
			$this->lblFlagUpdateReason->Text = $this->objTableJpAddress->FlagUpdateReason;
			$this->lblFlagUpdateReason->Format = $strFormat;
			return $this->lblFlagUpdateReason;
		}

		/**
		 * Create and setup QTextBox txtKenKana1
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtKenKana1_Create($strControlId = null) {
			$this->txtKenKana1 = new QTextBox($this->objParentObject, $strControlId);
			$this->txtKenKana1->Name = QApplication::Translate('Ken Kana 1');
			$this->txtKenKana1->Text = $this->objTableJpAddress->KenKana1;
			$this->txtKenKana1->MaxLength = TableJpAddress::KenKana1MaxLength;
			return $this->txtKenKana1;
		}

		/**
		 * Create and setup QLabel lblKenKana1
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblKenKana1_Create($strControlId = null) {
			$this->lblKenKana1 = new QLabel($this->objParentObject, $strControlId);
			$this->lblKenKana1->Name = QApplication::Translate('Ken Kana 1');
			$this->lblKenKana1->Text = $this->objTableJpAddress->KenKana1;
			return $this->lblKenKana1;
		}

		/**
		 * Create and setup QTextBox txtCityKana1
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtCityKana1_Create($strControlId = null) {
			$this->txtCityKana1 = new QTextBox($this->objParentObject, $strControlId);
			$this->txtCityKana1->Name = QApplication::Translate('City Kana 1');
			$this->txtCityKana1->Text = $this->objTableJpAddress->CityKana1;
			$this->txtCityKana1->MaxLength = TableJpAddress::CityKana1MaxLength;
			return $this->txtCityKana1;
		}

		/**
		 * Create and setup QLabel lblCityKana1
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblCityKana1_Create($strControlId = null) {
			$this->lblCityKana1 = new QLabel($this->objParentObject, $strControlId);
			$this->lblCityKana1->Name = QApplication::Translate('City Kana 1');
			$this->lblCityKana1->Text = $this->objTableJpAddress->CityKana1;
			return $this->lblCityKana1;
		}

		/**
		 * Create and setup QTextBox txtTiikiKana1
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtTiikiKana1_Create($strControlId = null) {
			$this->txtTiikiKana1 = new QTextBox($this->objParentObject, $strControlId);
			$this->txtTiikiKana1->Name = QApplication::Translate('Tiiki Kana 1');
			$this->txtTiikiKana1->Text = $this->objTableJpAddress->TiikiKana1;
			$this->txtTiikiKana1->MaxLength = TableJpAddress::TiikiKana1MaxLength;
			return $this->txtTiikiKana1;
		}

		/**
		 * Create and setup QLabel lblTiikiKana1
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblTiikiKana1_Create($strControlId = null) {
			$this->lblTiikiKana1 = new QLabel($this->objParentObject, $strControlId);
			$this->lblTiikiKana1->Name = QApplication::Translate('Tiiki Kana 1');
			$this->lblTiikiKana1->Text = $this->objTableJpAddress->TiikiKana1;
			return $this->lblTiikiKana1;
		}

		/**
		 * Create and setup QTextBox txtKenAlpha
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtKenAlpha_Create($strControlId = null) {
			$this->txtKenAlpha = new QTextBox($this->objParentObject, $strControlId);
			$this->txtKenAlpha->Name = QApplication::Translate('Ken Alpha');
			$this->txtKenAlpha->Text = $this->objTableJpAddress->KenAlpha;
			$this->txtKenAlpha->MaxLength = TableJpAddress::KenAlphaMaxLength;
			return $this->txtKenAlpha;
		}

		/**
		 * Create and setup QLabel lblKenAlpha
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblKenAlpha_Create($strControlId = null) {
			$this->lblKenAlpha = new QLabel($this->objParentObject, $strControlId);
			$this->lblKenAlpha->Name = QApplication::Translate('Ken Alpha');
			$this->lblKenAlpha->Text = $this->objTableJpAddress->KenAlpha;
			return $this->lblKenAlpha;
		}

		/**
		 * Create and setup QTextBox txtCityAlpha
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtCityAlpha_Create($strControlId = null) {
			$this->txtCityAlpha = new QTextBox($this->objParentObject, $strControlId);
			$this->txtCityAlpha->Name = QApplication::Translate('City Alpha');
			$this->txtCityAlpha->Text = $this->objTableJpAddress->CityAlpha;
			$this->txtCityAlpha->MaxLength = TableJpAddress::CityAlphaMaxLength;
			return $this->txtCityAlpha;
		}

		/**
		 * Create and setup QLabel lblCityAlpha
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblCityAlpha_Create($strControlId = null) {
			$this->lblCityAlpha = new QLabel($this->objParentObject, $strControlId);
			$this->lblCityAlpha->Name = QApplication::Translate('City Alpha');
			$this->lblCityAlpha->Text = $this->objTableJpAddress->CityAlpha;
			return $this->lblCityAlpha;
		}

		/**
		 * Create and setup QTextBox txtTiikiAlpha
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtTiikiAlpha_Create($strControlId = null) {
			$this->txtTiikiAlpha = new QTextBox($this->objParentObject, $strControlId);
			$this->txtTiikiAlpha->Name = QApplication::Translate('Tiiki Alpha');
			$this->txtTiikiAlpha->Text = $this->objTableJpAddress->TiikiAlpha;
			$this->txtTiikiAlpha->MaxLength = TableJpAddress::TiikiAlphaMaxLength;
			return $this->txtTiikiAlpha;
		}

		/**
		 * Create and setup QLabel lblTiikiAlpha
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblTiikiAlpha_Create($strControlId = null) {
			$this->lblTiikiAlpha = new QLabel($this->objParentObject, $strControlId);
			$this->lblTiikiAlpha->Name = QApplication::Translate('Tiiki Alpha');
			$this->lblTiikiAlpha->Text = $this->objTableJpAddress->TiikiAlpha;
			return $this->lblTiikiAlpha;
		}

		/**
		 * Create and setup QIntegerTextBox txtGeoOrderKen
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtGeoOrderKen_Create($strControlId = null) {
			$this->txtGeoOrderKen = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtGeoOrderKen->Name = QApplication::Translate('Geo Order Ken');
			$this->txtGeoOrderKen->Text = $this->objTableJpAddress->GeoOrderKen;
			return $this->txtGeoOrderKen;
		}

		/**
		 * Create and setup QLabel lblGeoOrderKen
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblGeoOrderKen_Create($strControlId = null, $strFormat = null) {
			$this->lblGeoOrderKen = new QLabel($this->objParentObject, $strControlId);
			$this->lblGeoOrderKen->Name = QApplication::Translate('Geo Order Ken');
			$this->lblGeoOrderKen->Text = $this->objTableJpAddress->GeoOrderKen;
			$this->lblGeoOrderKen->Format = $strFormat;
			return $this->lblGeoOrderKen;
		}

		/**
		 * Create and setup QIntegerTextBox txtKanaOrderKen
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtKanaOrderKen_Create($strControlId = null) {
			$this->txtKanaOrderKen = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtKanaOrderKen->Name = QApplication::Translate('Kana Order Ken');
			$this->txtKanaOrderKen->Text = $this->objTableJpAddress->KanaOrderKen;
			return $this->txtKanaOrderKen;
		}

		/**
		 * Create and setup QLabel lblKanaOrderKen
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblKanaOrderKen_Create($strControlId = null, $strFormat = null) {
			$this->lblKanaOrderKen = new QLabel($this->objParentObject, $strControlId);
			$this->lblKanaOrderKen->Name = QApplication::Translate('Kana Order Ken');
			$this->lblKanaOrderKen->Text = $this->objTableJpAddress->KanaOrderKen;
			$this->lblKanaOrderKen->Format = $strFormat;
			return $this->lblKanaOrderKen;
		}

		/**
		 * Create and setup QIntegerTextBox txtKanaOrderCity
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtKanaOrderCity_Create($strControlId = null) {
			$this->txtKanaOrderCity = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtKanaOrderCity->Name = QApplication::Translate('Kana Order City');
			$this->txtKanaOrderCity->Text = $this->objTableJpAddress->KanaOrderCity;
			return $this->txtKanaOrderCity;
		}

		/**
		 * Create and setup QLabel lblKanaOrderCity
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblKanaOrderCity_Create($strControlId = null, $strFormat = null) {
			$this->lblKanaOrderCity = new QLabel($this->objParentObject, $strControlId);
			$this->lblKanaOrderCity->Name = QApplication::Translate('Kana Order City');
			$this->lblKanaOrderCity->Text = $this->objTableJpAddress->KanaOrderCity;
			$this->lblKanaOrderCity->Format = $strFormat;
			return $this->lblKanaOrderCity;
		}

		/**
		 * Create and setup QIntegerTextBox txtKanaOrderTiiki
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtKanaOrderTiiki_Create($strControlId = null) {
			$this->txtKanaOrderTiiki = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtKanaOrderTiiki->Name = QApplication::Translate('Kana Order Tiiki');
			$this->txtKanaOrderTiiki->Text = $this->objTableJpAddress->KanaOrderTiiki;
			return $this->txtKanaOrderTiiki;
		}

		/**
		 * Create and setup QLabel lblKanaOrderTiiki
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblKanaOrderTiiki_Create($strControlId = null, $strFormat = null) {
			$this->lblKanaOrderTiiki = new QLabel($this->objParentObject, $strControlId);
			$this->lblKanaOrderTiiki->Name = QApplication::Translate('Kana Order Tiiki');
			$this->lblKanaOrderTiiki->Text = $this->objTableJpAddress->KanaOrderTiiki;
			$this->lblKanaOrderTiiki->Format = $strFormat;
			return $this->lblKanaOrderTiiki;
		}



		/**
		 * Refresh this MetaControl with Data from the local TableJpAddress object.
		 * @param boolean $blnReload reload TableJpAddress from the database
		 * @return void
		 */
		public function Refresh($blnReload = false) {
			if ($blnReload)
				$this->objTableJpAddress->Reload();

			if ($this->lblId) if ($this->blnEditMode) $this->lblId->Text = $this->objTableJpAddress->Id;

			if ($this->txtTihouCode) $this->txtTihouCode->Text = $this->objTableJpAddress->TihouCode;
			if ($this->lblTihouCode) $this->lblTihouCode->Text = $this->objTableJpAddress->TihouCode;

			if ($this->txtPostalCode) $this->txtPostalCode->Text = $this->objTableJpAddress->PostalCode;
			if ($this->lblPostalCode) $this->lblPostalCode->Text = $this->objTableJpAddress->PostalCode;

			if ($this->txtKenKana) $this->txtKenKana->Text = $this->objTableJpAddress->KenKana;
			if ($this->lblKenKana) $this->lblKenKana->Text = $this->objTableJpAddress->KenKana;

			if ($this->txtCityKana) $this->txtCityKana->Text = $this->objTableJpAddress->CityKana;
			if ($this->lblCityKana) $this->lblCityKana->Text = $this->objTableJpAddress->CityKana;

			if ($this->txtTiikiKana) $this->txtTiikiKana->Text = $this->objTableJpAddress->TiikiKana;
			if ($this->lblTiikiKana) $this->lblTiikiKana->Text = $this->objTableJpAddress->TiikiKana;

			if ($this->txtKen) $this->txtKen->Text = $this->objTableJpAddress->Ken;
			if ($this->lblKen) $this->lblKen->Text = $this->objTableJpAddress->Ken;

			if ($this->txtShityouson) $this->txtShityouson->Text = $this->objTableJpAddress->Shityouson;
			if ($this->lblShityouson) $this->lblShityouson->Text = $this->objTableJpAddress->Shityouson;

			if ($this->txtTiiki) $this->txtTiiki->Text = $this->objTableJpAddress->Tiiki;
			if ($this->lblTiiki) $this->lblTiiki->Text = $this->objTableJpAddress->Tiiki;

			if ($this->txtFlagMultiCode) $this->txtFlagMultiCode->Text = $this->objTableJpAddress->FlagMultiCode;
			if ($this->lblFlagMultiCode) $this->lblFlagMultiCode->Text = $this->objTableJpAddress->FlagMultiCode;

			if ($this->txtFlagBantiTiiki) $this->txtFlagBantiTiiki->Text = $this->objTableJpAddress->FlagBantiTiiki;
			if ($this->lblFlagBantiTiiki) $this->lblFlagBantiTiiki->Text = $this->objTableJpAddress->FlagBantiTiiki;

			if ($this->txtFlagTyome) $this->txtFlagTyome->Text = $this->objTableJpAddress->FlagTyome;
			if ($this->lblFlagTyome) $this->lblFlagTyome->Text = $this->objTableJpAddress->FlagTyome;

			if ($this->txtFlagMultiTiiki) $this->txtFlagMultiTiiki->Text = $this->objTableJpAddress->FlagMultiTiiki;
			if ($this->lblFlagMultiTiiki) $this->lblFlagMultiTiiki->Text = $this->objTableJpAddress->FlagMultiTiiki;

			if ($this->txtFlagUpdate) $this->txtFlagUpdate->Text = $this->objTableJpAddress->FlagUpdate;
			if ($this->lblFlagUpdate) $this->lblFlagUpdate->Text = $this->objTableJpAddress->FlagUpdate;

			if ($this->txtFlagUpdateReason) $this->txtFlagUpdateReason->Text = $this->objTableJpAddress->FlagUpdateReason;
			if ($this->lblFlagUpdateReason) $this->lblFlagUpdateReason->Text = $this->objTableJpAddress->FlagUpdateReason;

			if ($this->txtKenKana1) $this->txtKenKana1->Text = $this->objTableJpAddress->KenKana1;
			if ($this->lblKenKana1) $this->lblKenKana1->Text = $this->objTableJpAddress->KenKana1;

			if ($this->txtCityKana1) $this->txtCityKana1->Text = $this->objTableJpAddress->CityKana1;
			if ($this->lblCityKana1) $this->lblCityKana1->Text = $this->objTableJpAddress->CityKana1;

			if ($this->txtTiikiKana1) $this->txtTiikiKana1->Text = $this->objTableJpAddress->TiikiKana1;
			if ($this->lblTiikiKana1) $this->lblTiikiKana1->Text = $this->objTableJpAddress->TiikiKana1;

			if ($this->txtKenAlpha) $this->txtKenAlpha->Text = $this->objTableJpAddress->KenAlpha;
			if ($this->lblKenAlpha) $this->lblKenAlpha->Text = $this->objTableJpAddress->KenAlpha;

			if ($this->txtCityAlpha) $this->txtCityAlpha->Text = $this->objTableJpAddress->CityAlpha;
			if ($this->lblCityAlpha) $this->lblCityAlpha->Text = $this->objTableJpAddress->CityAlpha;

			if ($this->txtTiikiAlpha) $this->txtTiikiAlpha->Text = $this->objTableJpAddress->TiikiAlpha;
			if ($this->lblTiikiAlpha) $this->lblTiikiAlpha->Text = $this->objTableJpAddress->TiikiAlpha;

			if ($this->txtGeoOrderKen) $this->txtGeoOrderKen->Text = $this->objTableJpAddress->GeoOrderKen;
			if ($this->lblGeoOrderKen) $this->lblGeoOrderKen->Text = $this->objTableJpAddress->GeoOrderKen;

			if ($this->txtKanaOrderKen) $this->txtKanaOrderKen->Text = $this->objTableJpAddress->KanaOrderKen;
			if ($this->lblKanaOrderKen) $this->lblKanaOrderKen->Text = $this->objTableJpAddress->KanaOrderKen;

			if ($this->txtKanaOrderCity) $this->txtKanaOrderCity->Text = $this->objTableJpAddress->KanaOrderCity;
			if ($this->lblKanaOrderCity) $this->lblKanaOrderCity->Text = $this->objTableJpAddress->KanaOrderCity;

			if ($this->txtKanaOrderTiiki) $this->txtKanaOrderTiiki->Text = $this->objTableJpAddress->KanaOrderTiiki;
			if ($this->lblKanaOrderTiiki) $this->lblKanaOrderTiiki->Text = $this->objTableJpAddress->KanaOrderTiiki;

		}



		///////////////////////////////////////////////
		// PROTECTED UPDATE METHODS for ManyToManyReferences (if any)
		///////////////////////////////////////////////





		///////////////////////////////////////////////
		// PUBLIC TABLEJPADDRESS OBJECT MANIPULATORS
		///////////////////////////////////////////////

		/**
		 * This will save this object's TableJpAddress instance,
		 * updating only the fields which have had a control created for it.
		 */
		public function SaveTableJpAddress() {
			try {
				// Update any fields for controls that have been created
				if ($this->txtTihouCode) $this->objTableJpAddress->TihouCode = $this->txtTihouCode->Text;
				if ($this->txtPostalCode) $this->objTableJpAddress->PostalCode = $this->txtPostalCode->Text;
				if ($this->txtKenKana) $this->objTableJpAddress->KenKana = $this->txtKenKana->Text;
				if ($this->txtCityKana) $this->objTableJpAddress->CityKana = $this->txtCityKana->Text;
				if ($this->txtTiikiKana) $this->objTableJpAddress->TiikiKana = $this->txtTiikiKana->Text;
				if ($this->txtKen) $this->objTableJpAddress->Ken = $this->txtKen->Text;
				if ($this->txtShityouson) $this->objTableJpAddress->Shityouson = $this->txtShityouson->Text;
				if ($this->txtTiiki) $this->objTableJpAddress->Tiiki = $this->txtTiiki->Text;
				if ($this->txtFlagMultiCode) $this->objTableJpAddress->FlagMultiCode = $this->txtFlagMultiCode->Text;
				if ($this->txtFlagBantiTiiki) $this->objTableJpAddress->FlagBantiTiiki = $this->txtFlagBantiTiiki->Text;
				if ($this->txtFlagTyome) $this->objTableJpAddress->FlagTyome = $this->txtFlagTyome->Text;
				if ($this->txtFlagMultiTiiki) $this->objTableJpAddress->FlagMultiTiiki = $this->txtFlagMultiTiiki->Text;
				if ($this->txtFlagUpdate) $this->objTableJpAddress->FlagUpdate = $this->txtFlagUpdate->Text;
				if ($this->txtFlagUpdateReason) $this->objTableJpAddress->FlagUpdateReason = $this->txtFlagUpdateReason->Text;
				if ($this->txtKenKana1) $this->objTableJpAddress->KenKana1 = $this->txtKenKana1->Text;
				if ($this->txtCityKana1) $this->objTableJpAddress->CityKana1 = $this->txtCityKana1->Text;
				if ($this->txtTiikiKana1) $this->objTableJpAddress->TiikiKana1 = $this->txtTiikiKana1->Text;
				if ($this->txtKenAlpha) $this->objTableJpAddress->KenAlpha = $this->txtKenAlpha->Text;
				if ($this->txtCityAlpha) $this->objTableJpAddress->CityAlpha = $this->txtCityAlpha->Text;
				if ($this->txtTiikiAlpha) $this->objTableJpAddress->TiikiAlpha = $this->txtTiikiAlpha->Text;
				if ($this->txtGeoOrderKen) $this->objTableJpAddress->GeoOrderKen = $this->txtGeoOrderKen->Text;
				if ($this->txtKanaOrderKen) $this->objTableJpAddress->KanaOrderKen = $this->txtKanaOrderKen->Text;
				if ($this->txtKanaOrderCity) $this->objTableJpAddress->KanaOrderCity = $this->txtKanaOrderCity->Text;
				if ($this->txtKanaOrderTiiki) $this->objTableJpAddress->KanaOrderTiiki = $this->txtKanaOrderTiiki->Text;

				// Update any UniqueReverseReferences (if any) for controls that have been created for it

				// Save the TableJpAddress object
				$this->objTableJpAddress->Save();

				// Finally, update any ManyToManyReferences (if any)
			} catch (QCallerException $objExc) {
				$objExc->IncrementOffset();
				throw $objExc;
			}
		}

		/**
		 * This will DELETE this object's TableJpAddress instance from the database.
		 * It will also unassociate itself from any ManyToManyReferences.
		 */
		public function DeleteTableJpAddress() {
			$this->objTableJpAddress->Delete();
		}		



		///////////////////////////////////////////////
		// PUBLIC GETTERS and SETTERS
		///////////////////////////////////////////////

		/**
		 * Override method to perform a property "Get"
		 * This will get the value of $strName
		 *
		 * @param string $strName Name of the property to get
		 * @return mixed
		 */
		public function __get($strName) {
			switch ($strName) {
				// General MetaControlVariables
				case 'TableJpAddress': return $this->objTableJpAddress;
				case 'TitleVerb': return $this->strTitleVerb;
				case 'EditMode': return $this->blnEditMode;

				// Controls that point to TableJpAddress fields -- will be created dynamically if not yet created
				case 'IdControl':
					if (!$this->lblId) return $this->lblId_Create();
					return $this->lblId;
				case 'IdLabel':
					if (!$this->lblId) return $this->lblId_Create();
					return $this->lblId;
				case 'TihouCodeControl':
					if (!$this->txtTihouCode) return $this->txtTihouCode_Create();
					return $this->txtTihouCode;
				case 'TihouCodeLabel':
					if (!$this->lblTihouCode) return $this->lblTihouCode_Create();
					return $this->lblTihouCode;
				case 'PostalCodeControl':
					if (!$this->txtPostalCode) return $this->txtPostalCode_Create();
					return $this->txtPostalCode;
				case 'PostalCodeLabel':
					if (!$this->lblPostalCode) return $this->lblPostalCode_Create();
					return $this->lblPostalCode;
				case 'KenKanaControl':
					if (!$this->txtKenKana) return $this->txtKenKana_Create();
					return $this->txtKenKana;
				case 'KenKanaLabel':
					if (!$this->lblKenKana) return $this->lblKenKana_Create();
					return $this->lblKenKana;
				case 'CityKanaControl':
					if (!$this->txtCityKana) return $this->txtCityKana_Create();
					return $this->txtCityKana;
				case 'CityKanaLabel':
					if (!$this->lblCityKana) return $this->lblCityKana_Create();
					return $this->lblCityKana;
				case 'TiikiKanaControl':
					if (!$this->txtTiikiKana) return $this->txtTiikiKana_Create();
					return $this->txtTiikiKana;
				case 'TiikiKanaLabel':
					if (!$this->lblTiikiKana) return $this->lblTiikiKana_Create();
					return $this->lblTiikiKana;
				case 'KenControl':
					if (!$this->txtKen) return $this->txtKen_Create();
					return $this->txtKen;
				case 'KenLabel':
					if (!$this->lblKen) return $this->lblKen_Create();
					return $this->lblKen;
				case 'ShityousonControl':
					if (!$this->txtShityouson) return $this->txtShityouson_Create();
					return $this->txtShityouson;
				case 'ShityousonLabel':
					if (!$this->lblShityouson) return $this->lblShityouson_Create();
					return $this->lblShityouson;
				case 'TiikiControl':
					if (!$this->txtTiiki) return $this->txtTiiki_Create();
					return $this->txtTiiki;
				case 'TiikiLabel':
					if (!$this->lblTiiki) return $this->lblTiiki_Create();
					return $this->lblTiiki;
				case 'FlagMultiCodeControl':
					if (!$this->txtFlagMultiCode) return $this->txtFlagMultiCode_Create();
					return $this->txtFlagMultiCode;
				case 'FlagMultiCodeLabel':
					if (!$this->lblFlagMultiCode) return $this->lblFlagMultiCode_Create();
					return $this->lblFlagMultiCode;
				case 'FlagBantiTiikiControl':
					if (!$this->txtFlagBantiTiiki) return $this->txtFlagBantiTiiki_Create();
					return $this->txtFlagBantiTiiki;
				case 'FlagBantiTiikiLabel':
					if (!$this->lblFlagBantiTiiki) return $this->lblFlagBantiTiiki_Create();
					return $this->lblFlagBantiTiiki;
				case 'FlagTyomeControl':
					if (!$this->txtFlagTyome) return $this->txtFlagTyome_Create();
					return $this->txtFlagTyome;
				case 'FlagTyomeLabel':
					if (!$this->lblFlagTyome) return $this->lblFlagTyome_Create();
					return $this->lblFlagTyome;
				case 'FlagMultiTiikiControl':
					if (!$this->txtFlagMultiTiiki) return $this->txtFlagMultiTiiki_Create();
					return $this->txtFlagMultiTiiki;
				case 'FlagMultiTiikiLabel':
					if (!$this->lblFlagMultiTiiki) return $this->lblFlagMultiTiiki_Create();
					return $this->lblFlagMultiTiiki;
				case 'FlagUpdateControl':
					if (!$this->txtFlagUpdate) return $this->txtFlagUpdate_Create();
					return $this->txtFlagUpdate;
				case 'FlagUpdateLabel':
					if (!$this->lblFlagUpdate) return $this->lblFlagUpdate_Create();
					return $this->lblFlagUpdate;
				case 'FlagUpdateReasonControl':
					if (!$this->txtFlagUpdateReason) return $this->txtFlagUpdateReason_Create();
					return $this->txtFlagUpdateReason;
				case 'FlagUpdateReasonLabel':
					if (!$this->lblFlagUpdateReason) return $this->lblFlagUpdateReason_Create();
					return $this->lblFlagUpdateReason;
				case 'KenKana1Control':
					if (!$this->txtKenKana1) return $this->txtKenKana1_Create();
					return $this->txtKenKana1;
				case 'KenKana1Label':
					if (!$this->lblKenKana1) return $this->lblKenKana1_Create();
					return $this->lblKenKana1;
				case 'CityKana1Control':
					if (!$this->txtCityKana1) return $this->txtCityKana1_Create();
					return $this->txtCityKana1;
				case 'CityKana1Label':
					if (!$this->lblCityKana1) return $this->lblCityKana1_Create();
					return $this->lblCityKana1;
				case 'TiikiKana1Control':
					if (!$this->txtTiikiKana1) return $this->txtTiikiKana1_Create();
					return $this->txtTiikiKana1;
				case 'TiikiKana1Label':
					if (!$this->lblTiikiKana1) return $this->lblTiikiKana1_Create();
					return $this->lblTiikiKana1;
				case 'KenAlphaControl':
					if (!$this->txtKenAlpha) return $this->txtKenAlpha_Create();
					return $this->txtKenAlpha;
				case 'KenAlphaLabel':
					if (!$this->lblKenAlpha) return $this->lblKenAlpha_Create();
					return $this->lblKenAlpha;
				case 'CityAlphaControl':
					if (!$this->txtCityAlpha) return $this->txtCityAlpha_Create();
					return $this->txtCityAlpha;
				case 'CityAlphaLabel':
					if (!$this->lblCityAlpha) return $this->lblCityAlpha_Create();
					return $this->lblCityAlpha;
				case 'TiikiAlphaControl':
					if (!$this->txtTiikiAlpha) return $this->txtTiikiAlpha_Create();
					return $this->txtTiikiAlpha;
				case 'TiikiAlphaLabel':
					if (!$this->lblTiikiAlpha) return $this->lblTiikiAlpha_Create();
					return $this->lblTiikiAlpha;
				case 'GeoOrderKenControl':
					if (!$this->txtGeoOrderKen) return $this->txtGeoOrderKen_Create();
					return $this->txtGeoOrderKen;
				case 'GeoOrderKenLabel':
					if (!$this->lblGeoOrderKen) return $this->lblGeoOrderKen_Create();
					return $this->lblGeoOrderKen;
				case 'KanaOrderKenControl':
					if (!$this->txtKanaOrderKen) return $this->txtKanaOrderKen_Create();
					return $this->txtKanaOrderKen;
				case 'KanaOrderKenLabel':
					if (!$this->lblKanaOrderKen) return $this->lblKanaOrderKen_Create();
					return $this->lblKanaOrderKen;
				case 'KanaOrderCityControl':
					if (!$this->txtKanaOrderCity) return $this->txtKanaOrderCity_Create();
					return $this->txtKanaOrderCity;
				case 'KanaOrderCityLabel':
					if (!$this->lblKanaOrderCity) return $this->lblKanaOrderCity_Create();
					return $this->lblKanaOrderCity;
				case 'KanaOrderTiikiControl':
					if (!$this->txtKanaOrderTiiki) return $this->txtKanaOrderTiiki_Create();
					return $this->txtKanaOrderTiiki;
				case 'KanaOrderTiikiLabel':
					if (!$this->lblKanaOrderTiiki) return $this->lblKanaOrderTiiki_Create();
					return $this->lblKanaOrderTiiki;
				default:
					try {
						return parent::__get($strName);
					} catch (QCallerException $objExc) {
						$objExc->IncrementOffset();
						throw $objExc;
					}
			}
		}

		/**
		 * Override method to perform a property "Set"
		 * This will set the property $strName to be $mixValue
		 *
		 * @param string $strName Name of the property to set
		 * @param string $mixValue New value of the property
		 * @return mixed
		 */
		public function __set($strName, $mixValue) {
			try {
				switch ($strName) {
					// Controls that point to TableJpAddress fields
					case 'IdControl':
						return ($this->lblId = QType::Cast($mixValue, 'QControl'));
					case 'TihouCodeControl':
						return ($this->txtTihouCode = QType::Cast($mixValue, 'QControl'));
					case 'PostalCodeControl':
						return ($this->txtPostalCode = QType::Cast($mixValue, 'QControl'));
					case 'KenKanaControl':
						return ($this->txtKenKana = QType::Cast($mixValue, 'QControl'));
					case 'CityKanaControl':
						return ($this->txtCityKana = QType::Cast($mixValue, 'QControl'));
					case 'TiikiKanaControl':
						return ($this->txtTiikiKana = QType::Cast($mixValue, 'QControl'));
					case 'KenControl':
						return ($this->txtKen = QType::Cast($mixValue, 'QControl'));
					case 'ShityousonControl':
						return ($this->txtShityouson = QType::Cast($mixValue, 'QControl'));
					case 'TiikiControl':
						return ($this->txtTiiki = QType::Cast($mixValue, 'QControl'));
					case 'FlagMultiCodeControl':
						return ($this->txtFlagMultiCode = QType::Cast($mixValue, 'QControl'));
					case 'FlagBantiTiikiControl':
						return ($this->txtFlagBantiTiiki = QType::Cast($mixValue, 'QControl'));
					case 'FlagTyomeControl':
						return ($this->txtFlagTyome = QType::Cast($mixValue, 'QControl'));
					case 'FlagMultiTiikiControl':
						return ($this->txtFlagMultiTiiki = QType::Cast($mixValue, 'QControl'));
					case 'FlagUpdateControl':
						return ($this->txtFlagUpdate = QType::Cast($mixValue, 'QControl'));
					case 'FlagUpdateReasonControl':
						return ($this->txtFlagUpdateReason = QType::Cast($mixValue, 'QControl'));
					case 'KenKana1Control':
						return ($this->txtKenKana1 = QType::Cast($mixValue, 'QControl'));
					case 'CityKana1Control':
						return ($this->txtCityKana1 = QType::Cast($mixValue, 'QControl'));
					case 'TiikiKana1Control':
						return ($this->txtTiikiKana1 = QType::Cast($mixValue, 'QControl'));
					case 'KenAlphaControl':
						return ($this->txtKenAlpha = QType::Cast($mixValue, 'QControl'));
					case 'CityAlphaControl':
						return ($this->txtCityAlpha = QType::Cast($mixValue, 'QControl'));
					case 'TiikiAlphaControl':
						return ($this->txtTiikiAlpha = QType::Cast($mixValue, 'QControl'));
					case 'GeoOrderKenControl':
						return ($this->txtGeoOrderKen = QType::Cast($mixValue, 'QControl'));
					case 'KanaOrderKenControl':
						return ($this->txtKanaOrderKen = QType::Cast($mixValue, 'QControl'));
					case 'KanaOrderCityControl':
						return ($this->txtKanaOrderCity = QType::Cast($mixValue, 'QControl'));
					case 'KanaOrderTiikiControl':
						return ($this->txtKanaOrderTiiki = QType::Cast($mixValue, 'QControl'));
					default:
						return parent::__set($strName, $mixValue);
				}
			} catch (QCallerException $objExc) {
				$objExc->IncrementOffset();
				throw $objExc;
			}
		}
	}
?>